<template>
  <div class="main-title">
    <div class="title">
      {{ title }}
    </div>
    <div class="br-container">
      <div class="mybr"></div>
      <div class="describe">
        <img src="@/assets/title1/right.png">
        {{ describe }}
        <img src="@/assets/title1/left.png">
      </div>
    </div>
  </div>

</template>

<script lang="ts" setup>
defineProps({
  title: String,
  describe: String,
})
</script>

<style scoped>
.main-title{
  display: flex;
  flex-direction: column;
  border-bottom: 3px solid #e9ecef;
  height:110px;
  align-items: center;
}
.title{
  color: #495057;
  font-size: 35px;
  font-weight: bold;
  text-align: center;
}
.br-container{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mybr{
  width:50px;
  border-bottom: 4px solid #10b981;
  border-radius: 10px;
  margin-top: 5px;
}
.describe{
  margin-top: 10px;
  width: 100%;
  height: 20px;
  color:gray;
}
img{
  width: 15px;
}

</style>